
	<?php foreach ($student_groups as $key => $group):?>
		<h1><?php echo $group['group_name'];?><br /></h1>
	<?php endforeach ?>
	
	<?php
		if ($allowMessage == true) {
			echo '<a href="' . site_url('messages/viewGroupMessages') . '">View Group Messages</a><br />';
			echo '<a href="' . site_url('messages/addGroupMessage') . '">Add a Group Messages</a><br />';
		}
	?>
	<br />
<strong>I would like to:</strong><br />
<a href="<?php echo site_url('group/create_group'); ?>">Create a group</a><br />
<a href="<?php echo site_url('group/join_group'); ?>">Join a group</a><br />
<a href="<?php echo site_url('group/leave_group'); ?>">Leave a group</a>
